import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 客户
 */
export function addClient(params) {
    return request.globalRequest(apis.addClient, 'POST', params)
}

export function getClientList(params) {
    return request.globalRequest(apis.getClientList, 'POST', params)
}
export function delClient(params) {
    return request.globalRequest(apis.delClient, 'POST', params)
}
export function updateClient(params) {
    return request.globalRequest(apis.updateClient, 'POST', params)
}
export function checkClientExists(params) {
    return request.globalRequest(apis.checkClientExists, 'POST', params)
}

export default {
	addClient,
	getClientList,
	delClient,
	updateClient,
	checkClientExists,
}